package com.sakila.service;

import java.util.Date;

import com.sakila.pojo.Member;
import com.sakila.pojo.Payment;
import com.sakila.pojo.other.Page;
import com.sakila.vo.PaymentVo;

public interface PaymentService {
	Payment findById(Integer id);
	PaymentVo findAll(Page page);
	PaymentVo findByMember(Page page, Member member);
	PaymentVo findByPeriod(Page page, Member member, Date startDate, Date endDate);
	PaymentVo findUnReturned(Page page);
	PaymentVo findUnReturned(Page page, Member member);
	void finishOrder(Integer orderId);
}
